<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue</title>
</head>
<body>
<div id="div">
    {{msg}}
</div>
</body>
<script src="../js/vue.js"></script>
<script>
    //一个vue对象只能负责一块，多个情况下负责最前面的
    new Vue({
        el:"#div",
        data:{
            msg:"hello vue",
            msg1:111
        }
    });
</script>
</html>